# This Python file uses the following encoding: utf-8

# if __name__ == "__main__":
#     pass
# list_test.py
import numpy


def sort_by_list(mylist):
    print('使用python列表')
    mylist.sort()
    return mylist

def sort_by_numpy_list(myarray):
    # if type(myarray) is not numpy.ndarray:
    #     return
    print('使用numpy数组')
    myarray.sort()
    return myarray
